﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
	namespace="Miming.Model" assembly="miming">
	
	<class name="PurchaseOrder" table="purchase_orders">
		<id name="Id">
			<generator class="native"/>
		</id>
		<many-to-one name="Vendor" class="Vendor" column="VendorId"/>
		<many-to-one name="Class" class="Class" column="ClassId"/>
		<property name="Date" column="OrderDate"/>
		<property name="PONo"/>
		<property name="VendorDetails"/>
		<property name="ShipTo"/>
		<property name="Message"/>
		<property name="Memo" column="Memos"/>
	</class>

</hibernate-mapping>
